package com.bana.sys.utils;

import java.util.List;

public class PageResponse<T> {

    private List<T> datas;
    private int totalCount;

    public PageResponse()
    {

    }

    public PageResponse(List<T> data,int totalCount)
    {
        this.datas =data;
        this.totalCount=totalCount;
    }

    public List<T> getDatas() {
        return datas;
    }

    public void setDatas(List<T> datas) {
        this.datas = datas;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }
}
